<?php

namespace Yj\Generator\Core\Model;

/**
 * @Notes: []
 * @User: zwc
 * @Date: 2022/3/1 14:22
 */
class UseClassModel extends RenderableModel
{

    /**
     * PHPClassUse constructor.
     * @param string $name
     */
    public function __construct($name)
    {
        $this->name = $name;
    }

    /**
     * {@inheritDoc}
     */
    public function toLines()
    {
        return sprintf('use %s;', $this->name);
    }

}